<!-- 父组件 -->
<template>
    <div>
        <h2>
            父组件
        </h2>
        <div>
            tableRead-{{tableRead}}
        </div>
        <ChildCom :tableRead="tableRead"/>
    </div>
</template>

<script>
import ChildCom from './ChildCom.vue'

export default {
    components: {ChildCom},
    props: {
        tableRead:{
            type: Boolean,
            default: false
        }
    },
    data() {
        return {

        }
    }
}
</script>
<style lang="">
    
</style>